<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>商品列表页</title>
	<link href="__PUBLIC__/images/ico/favicon.ico" rel="shortcut icon" />
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/list.css"/>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/common.css"/>
</head>
<body>
	<!--公共头部-->
	<include file="__PUBLIC__/header"/>	
	<!--分类及子分类-->
	<div class="category fl">
		<div class="category_in">
			
			<div class="bnd fl">	
				<list from="$fatCate" name='$m'>
				<span class="category_grand">				
					<a href="{|U:'Index/Category/index'}"><if value="$hd.list.m.first">{$m.cname}</if></a>
					<if value="!($hd.list.m.first) && !($hd.list.m.last)"><span>/&nbsp;</span><a href="{|U:'Index/List/index',array('cid'=>$m[cid])}">{$m.cname}</a></if>
				</span>
				<if value="$hd.list.m.last">
					<p class="category_father">{$m.cname}</p>
				</if>	
				</list>
			</div>
			
			<ul class="category_son fl">
				<foreach from="$sonCate" key="$k" value="$v">
				<li><a href="{|U:'Index/List/index',array('cid'=>$v[cid])}">{$v.cname}</a></li>		
				</foreach>
			</ul>
		</div>
	</div>
	<!--end-->
	
	<!--最热/最新切换-->
	<div class="hot fl">
		<div class="hot_in">
			<div class="hot_btn fr">
				<a href="javascript:;" class="lefton">最热</a>
				<a href="javascript:;" class="righton">最新</a>
			</div>
		</div>
	</div>
	<!--end-->
	
	<!--商品价格-->
<foreach from="$tempFinalAttr" value="$v" key="$k">
	<div class="xuanze fl">
		<div class="xuanze_in">
			<p>{$v.name}:</p>
			<ul>
				<?php 
					//赋值给临时变量为了不破坏$param
					$temp = $param;
					//为了不限而准备的
					$temp[$k] = 0;
				 ?>
				<li><a href="{|U:'List/index',array('cid'=>$_GET['cid'],'param'=>implode('_',$temp))}" <if value="$param[$k] eq 0">class="hover"</if> >全部</a></li>
				<foreach from="$v['value']" key="$kk" value="$vv">
					<?php 
						$temp[$k] = $vv['said'];
					 ?>					
					<li><a href="{|U:'List/index',array('cid'=>$_GET['cid'],'param'=>implode('_',$temp))}" <if value="$param[$k] eq $vv['said']">class="hover"</if> >{$vv.savalue}</a></li>
				</foreach>
			</ul>
		</div>
	</div>
</foreach>
	<!--end-->
	
	<!--商品列表-->
	<div class="shiji_list fl">
		<div class="list_in">
			<foreach from="$shops" key="$k" value="$v">
			<div class="shiji_item">
				<a href="{|U:'Index/Content/index',array('sid'=>$v['sid'])}" class="list_img"><img src="__ROOT__/{$v.pic}"/></a>
				<a href="{|U:'Index/Content/index',array('sid'=>$v['sid'])}" class="list_content">{$v.sname}</a>
				<div class="list_price">
					<div class="list_border"></div>
					<p>￥{$v.shopprice}</p>
				</div>
			</div>
			</foreach>
		</div>
	</div>
	<!--end-->
	
	<!--分页部分-->
	<div class="page fl">
		<div class="hdpage"></div>
	</div>
	<!--end-->
	
	<!--更多精彩-->
	<div class="more_out fl">
		<div class="cin"></div>
		<div class="more_in">
			<div class="footerTop1 fl">
				<a href="">市集</a>•<a href="">动态</a>
			</div>
			<div class="footerTop2 fl">
				<p>{$fatCate[1].cname}</p>
				<ul>
					<foreach from="$sonCate" key="$k" value="$v">
					<li><a href="{|U:'Index/List/index',array('cid'=>$v[cid])}">{$v.cname}</a></li>
					</foreach>
				</ul>
			</div>
			<ul class="footerTop3 fr">
				<foreach from="$topCate" key="$k" value="$v">
					<li><a href="">{$v.cname}</a></li>		
				</foreach>
			</ul>
		</div>
	</div>
	<!--end-->
	
	<!--间隔-->
	<div class="clear fl"></div>
	<!--end-->
	
	<!--底部信息-->
	<div class="bottom fl">
		<div class="footer">
			<div class="footitle fl">
				<p>高端定制上哇塞网</p>
			</div>
			<div class="footernav fl">
				<p class="box">
					<a href="">关于我们</a>
					<a href="">联系我们</a>				
					<a href="">媒体报道</a>				
					<a href="">创意画报</a>				
					<a href="">招贤纳士</a>				
					<a href="">版权保护</a>
					<a href="">用户条款</a>				
					<a href="">隐私声明</a>				
					<a href="">友情链接</a>				
					<a href="">网站地图</a>
					<a href="">帮助中心</a>				
					<a href="">手工客</a>
				</p>
			</div>
			<div class="footermsg fl">
				<p>北京光年创艺信息技术有限公司 WowSai.com Copyright© 2008-2013 [京ICP备10020900][京公网安备11010502026420][京ICP证090011号]</p>
			</div>
			<div class="footerpic fl">
				<div class="botpic">
					<img src="__PUBLIC__/images/ico/bot1.png" alt="" />
					<img src="__PUBLIC__/images/ico/bot2.png" alt="" />
					<img src="__PUBLIC__/images/ico/bot3.png" alt="" />
				</div>
			</div>
		</div>
	</div>
	<!--end-->		
	</body>
</html>




















